package com.neuedu.funlifebbs.bean;

import java.util.Date;

/**
 * 通知类 用户发布的帖子新的评论就提醒用户
 * 
 * @author myh
 * @version 2019年8月17日上午10:26:06
 *
 */
public class News {
	private int id;
	/**
	 * 消息状态 0未读，1已读
	 */
	private int status;
	/**
	 * 消息时间
	 */
	private Date newtime;
	/**
	 * 通知人--一对一
	 */
	private Users user;
	/**
	 * 消息帖子 ---哪个帖子有未读消息--一对一
	 */
	private Topics topic;

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(int status) {
		this.status = status;
	}

	/**
	 * @return the newtime
	 */
	public Date getNewtime() {
		return newtime;
	}

	/**
	 * @param newtime
	 *            the newtime to set
	 */
	public void setNewtime(Date newtime) {
		this.newtime = newtime;
	}

	/**
	 * @return the user
	 */
	public Users getUser() {
		return user;
	}

	/**
	 * @param user
	 *            the user to set
	 */
	public void setUser(Users user) {
		this.user = user;
	}

	/**
	 * @return the topic
	 */
	public Topics getTopic() {
		return topic;
	}

	/**
	 * @param topic
	 *            the topic to set
	 */
	public void setTopic(Topics topic) {
		this.topic = topic;
	}
}
